@extends('Admin.layout.layout')
@section('content')
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>商品订单</h5>
                    </div>
                    <div class="ibox-content">
                        <div class="row">
                            <form action="" method="GET">
                                <div class="col-sm-12">
                                    <a class="btn btn-sm btn-primary fl mr10" href="/list1/eidt1">新增</a>
                                    <button type="submit" class="btn btn-sm btn-primary fr">查询</button>
                                    <div class="input-group fr mr10">
                                        <select class="form-control " style="height: 30px; padding:0 12px;">
                                            <option value="">分类选择</option>
                                            <option value="1">11</option>
                                            <option value="2">22</option>
                                        </select>
                                    </div>

                                </div>
                            </form>
                        </div>
                        <table class="table table-striped table-bordered table-hover dataTable" id="editable">
                            <thead>
                                <tr>
                                    <th width="15">
                                        <input type="checkbox" class="checkall" name="selectall" />
                                    </th>
                                    <th>序号</th>
                                    <th>分类</th>
                                    <th width="300">标题</th>
                                    <th class="center">前台展示</th>
                                    <th class="center">推荐</th>
                                    <th class="center">来源</th>
                                    <th class="center">作者</th>
                                    <th class="center">更新时间</th>
                                    <th class="center">操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                    <tr class="gradeX">
                                        <th>
                                            <input type="checkbox" class="checkall" name="checkBox[]" value="" />
                                        </th>
                                        <td>1</td>
                                        <td>111</td>
                                        <td>222</td>
                                        <td class="center">
                                            <a>展示</a>
                                            <a>取消展示</a>
                                        </td>
                                        <td class="center">
                                            <a>推荐</a>
                                            <a>取消推荐</a>
                                        </td>
                                        <td class="center">中安网</td>
                                        <td class="center">admin</td>
                                        <td class="center">2017-12-12</td>
                                        <td class="center">
                                            <a class="btn-xs btn-primary check_order" data-id="">查看</a>
                                        </td>
                                    </tr>
                                    <tr class="no-records-found center"><td colspan="9">没有找到匹配的记录</td></tr>
                            </tbody>
                        </table>
                        <div class="row">
                            include('Admin.common.paginate')
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


    <script src="{{asset('js/plugins/layer/laydate/laydate.js')}}"></script>
    <script src="{{asset('js/plugins/layer/layer.min.js')}}"></script>

    <script>
        //查看
        $('.check_order').click(function(){
            var url = 'foradmin/list1/eidt1';//前端模板测试
            //var url = '/foradmin/order/' + $(this).data('id');//前端正式
            var title = '订单详情';
            open_page(url, title);//打开新页面
        })
    </script>
@endsection